<?php

/**
 * Flickr Photosets - Help Page
 * Contains help topics.
 * 
 * @author Brad Dougherty <bdougherty@gmail.com>
 * @version 7.11.11
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License 3.0
 */

/*
Require the function library
This will include all other necessary files
*/
require_once 'lib.php';

/*
Initialize Flickr Photosets
*/
$fp = new FlickrPhotosetsCanvas(FlickrPhotosetsCanvas::uid_from_viewer, false, false, false);

?>

<fb:title>Help</fb:title>
<?=$fp->get_dashboard_header('Help')?>

<div class="section">
	
	<h2 class="header">Flickr Photosets FAQ</h2>
	<div class="section_body">
		These are some frequently asked questions about Flickr Photosets. If your question is not answered here, <a href="http://rit.facebook.com/board.php?uid=2360202224">submit your question to the discussion group</a>.
	</div>
		
	<div class="faq">
		
		<?php $fp->echo_help_item(
			'Are you working on any new features?', 
			'Yes. I\'m currently working on:<ul>
				<li>Ability to tag people in photos</li>
				<li>Different layouts for the profile page</li>
				<li>Choose which photos/sets to show on the profile page</li>
				<li>Comment on photos</li>
			</ul>
			You can take a look at all of the new features on the <a href="http://code.google.com/p/flickr-photosets/issues/list">issue page</a> at Google Code.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Are there any known issues with Flickr Photosets?', 
			'Yes. The following are known issues:<ul>
				<li>Some users are unable to refresh their profile box, or refreshes take a long time. See the help item under the &#8220;Profile Box&#8221; section.</li>
			</ul>'
		); ?>
		
		<?php $fp->echo_help_item(
			'How do I properly remove the application from my Facebook account?', 
			'First, go to the <a href="'.$fp->app_url.'/configure.php">configuration page</a> and click Remove Account under Flickr Account. You will be presented with an option to Revoke your Flickr account permissions. You should do this by checking the box and clicking the Revoke Permissions button. Then click the continue link. Then proceed to your <a href="http://facebook.com/editapps.php">Edit My Applications</a> page and click Remove next to '.$fp->app_name.'.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Do views on Facebook count towards the view count on Flickr?', 
			'No. Unfortunately there is no way to make the view count on Flickr increase. It is just for views on Flickr.'
		); ?>
		
		<?php $fp->echo_help_item(
			'What about collections?', 
			'Unfortunately, Flickr does not allow external applications to access information about collections. As soon as Flickr adds this, collections will be enabled in '.$fp->app_name.'.'
		); ?>
		
		<?php $fp->echo_help_item(
			'So '.$fp->app_name.' is open-source?', 
			'Yes it is! I&#8217;ve done this because I think it will help the application in the long run. I don&#8217;t have lots of time to devote to the application, so I hope that by doing this I can receive help from some people in adding new features to '.$fp->app_name.'. You can find out more information on the <a href="'.$fp->app_url.'/open_source.php">Open Source</a> page.'
		); ?>
		
		<?php $fp->echo_help_item(
			'How can I help out?', 
			'First you can go to the <a href="http://code.google.com/p/flickr-photosets">project page</a> on Google Code and take a look around at the wiki documents and issues. You can also check out a copy of the latest code with subversion. If you wish to participate, you can just submit your code using the guidelines described <a href="http://code.google.com/p/flickr-photosets/wiki/PostingNewCode">here</a>. You could also <a href="http://www.facebook.com/inbox/?compose&amp;id=1470030056">send a message to the developer</a>.'
		); ?>
		
		<?php $fp->echo_help_item(
			'What data do you store?', 
			'Besides your configuration, we store your Facebook ID and Flickr ID and the associated keys needed for the application to function. We also store the ID of your last photo and a list of your set IDs for the purpose of news feed notifications. When you remove the application, all of your information is removed from the database.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Are you affiliated with Flickr?', 
			'No. This product uses the <a href="http://flickr.com/services/api/">Flickr API</a> but is not endorsed or certified by <a href="http://flickr.com">Flickr</a>.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Are you affiliated with Facebook?', 
			'No. This product is not created or endorsed by <a href="http://www.facebook.com">Facebook</a>.'
		); ?>
		
		<div class="question">
			<a href="#" clicktotoggle="ans_donate">I love this app! Do you accept donations?</a>
		</div>
		<div id="ans_donate" class="answer" style="display:none;">
			I do accept donations. This site costs me money to operate, so any donation is accepted.
			<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
				<fb:editor-button name="submit" value="Make a Donation" />
				<input type="hidden" name="cmd" value="_s-xclick">
				<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEo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rDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcwNjE5MDMyMjEzWjAjBgkqhkiG9w0BCQQxFgQU9i4cB0+kwtXsBZ2ElcYQGegVPPMwDQYJKoZIhvcNAQEBBQAEgYAF6ULg0e2v41yVkdwcgsiMmTsanOd7jhjLZe02PhfF9MXsazNWoy1SYYxuCMlIzC9+3SRcTIyTdIAwVDZQ6fA6CSKAhtwpM3tXZ8yQuG9rhoeoKKTQarUKFMSt9MII7ecWEt1BF8cLIyNhsp45rhikXOsy5fgvCt/lqZ5ICJIiRg==-----END PKCS7-----
				">
			</form>
		</div>
		
	</div>

</div>

<div class="section">
	
	<h2 class="header">Profile Box</h2>
	<div class="section_body">
		
	</div>
	
	<div class="faq">
		
		<?php $fp->echo_help_item(
			'My profile box won\'t update!', 
			'This is a Facebook problem that is affecting a small number of users. If you can\'t get your profile to refresh, please <a href="http://rit.facebook.com/inbox/?compose&id=1470030056">send me a message</a> and I will contact Facebook with the information in order for them to fix it.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Why is there still stuff on my profile when I disable the profile?', 
			'This is because Facebook does not provide a way for this app to remove the profile box. So if you uncheck the box next to profile, '.$fp->app_name.' will set your profile to display nothing. When this happens, Facebook will put "No content to display." in the box. If you want to remove the profile box entirely, you can do so by clicking the &#8220;x&#8221; in the upper right corner of the profile box and then click Remove Box. (Keep in mind that if you remove the profile box this way, the only way to get it back is to remove the application and add it again.)'
		); ?>
		
		<?php $fp->echo_help_item(
			'Why can I only show 30 photos or sets on my profile?', 
			'The Flickr API Terms of Use forbid the display of more than 30 Flickr photos per page.'
		); ?>
		
	</div>
	
</div>

<div class="section">
	
	<h2 class="header">Flickr Account</h2>
	<div class="section_body">
		
	</div>
	
	<div class="faq">
		
		<?php $fp->echo_help_item(
			'How do I change my Flickr Account?', 
			'In order to change your Flickr account, first click on the "Remove Account" button on the <a href="'.$fp->app_url.'/configure.php">configuration page</a>. When prompted, you should revoke the permissions on your Flickr account by checking the box and clicking the Revoke Permissions button. Then click the continue link. Next, you should log off of your current Flickr account. Finally, you can go back to the configuration page and click the "Authenticate" button to authenticate your new account.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Why do I have to authorize my Flickr account?', 
			'Authorization is required for three reasons. First, it is the easiest way to connect your Facebook account with your Flickr account. There\'s no need to figure out your ID or username, all you have to do is be logged in to Flickr. The second reason is to protect your photos. By requiring authorization, it ensures that you are the only one who can connect your Flickr account to Facebook. Finally, authorization also allows you to choose to show your private photos on Facebook.'
		); ?>
		
	</div>
	
</div>

<?=$fp->echo_footer(true)?>